﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_Asp_UserControls_ConverterStatus : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session[Strings.Session_Converter_Started] != null && (bool)Session[Strings.Session_Converter_Started] )
        {
            x_scriptmanager.RegisterAsyncPostBackControl(x_timer);
        }
    }

    protected void UpdateStatus(object sender, EventArgs e)
    {
        if (Session[Strings.Session_Converter_Msg] != null)
        {
            x_statusMsg.Text = Session[Strings.Session_Converter_Msg] as string;
        }       

        x_statusPanel.Update();
    }
}